package com.diankangwo.sys.dao;

import com.diankangwo.sys.entity.SysThirdPartyServiceEntity;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/** 第三方短信接口
 * Created by wuye on 2017/9/11.
 */
@Mapper
@Repository
public interface SysThirdPartyServiceDao extends BaseDao<SysThirdPartyServiceEntity>{

    /**
     * 根据ID查询
     * @param id
     * @return
     */
    SysThirdPartyServiceEntity queryById(int id);


    /**
     * 保存
     * @param sysThirdPartyServiceEntity
     */
    void save(SysThirdPartyServiceEntity sysThirdPartyServiceEntity);

    /**
     * 修改
     * @param sysThirdPartyServiceEntity
     * @return
     */
    int update(SysThirdPartyServiceEntity sysThirdPartyServiceEntity);

}
